/* 网站统一样式 */
html{
  font-size: 62.5%;
}

/* 1页面头部样式 */

/* 1.1 头部导航 */

header{
  background-image: url(./images/top_banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
}

.top-nav {
  display: flex;
  align-items: center; /* 交叉轴（垂直）居中*/
  height: 3rem;
  font-size: 1.2rem;

  /* justify-content: space-between; */
}

.push-right {
  margin-left: auto;
}

.top-nav a {
  color: #a5a4a4;
  padding-right: 1rem;
}

/* 伪元素实现 “｜” 的现实 */
.top-nav a:not(:last-of-type)::after {
  content: "|";
  margin-left: 1rem;
}

/* 1.2 网站Logo */
div.logo {
  height: 10rem;
  /* background: url("../images/head.jpg") no-repeat center center; */
}

h1 {
  height: 10rem;
}
/* 2页面导航 */
/* 2.1 一级菜单 */
nav {
width: 100%;
height: 50px;
background-color: #039268;
display: flex;
line-height: 50px;

}

nav a {
  color: #fff;
  display: block;
  text-align: center;
  height: 4rem;
  line-height: 4rem;
  text-decoration: none;
}

nav ul {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}

nav li {
  flex: 1;
}

nav li > a {
  font-size: 1.6rem;
}

/* 导航菜单第一个元素的默认风格 */
nav li:first-of-type > a {
  color: #fff;
  background-color: #039268;
}

/* 鼠标覆盖的效果 */
nav li:hover > a {
  color: #fff;
  background-color: #039268;
}

/* 2.2 二级菜单 */
nav .sub-menu {
  display: none;
  position: absolute;
}

nav li:hover > ul.sub-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #039268;
  width: calc(120rem / 9);
}

nav ul.sub-menu a {
  color: #fff;
  font-size: 1.2rem;
}

nav ul.sub-menu li:hover > a {
  background-color: #039268;
}

/* 3页面主体 */
.content{
  display: flex;
  width:1200px;
  overflow: hidden;
  margin: 0 auto;
}
/* 3.1 轮播图 */
/*新闻轮播图*/
.banner {
  width:100%;
  width: 492px;
  height: 369px;
  background-color: white;
  position: relative;
  right: 60px;
  overflow: hidden;
}

.banner-imgs {
  width: 9999px;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.banner-imgs-item{
  min-width: 100%;
}

.banner-imgs img {
  width: 492px;
  height: 369px;
  display: inline-block;
  margin-left: -10px;
}

.banner-imgs li {
  display:flex;
  justify-content: flex-start;
}

.banner-imgs li a figure{
  display:flex;
  flex-direction:column;
}

.banner-imgs li a figcaption{
  display:flex;
  height:20px;
  color:black;
  font-weight: bold;
  font-size:14px;
  justify-content: center;
}


.left{
  width: 45%;
}


.news{
  display: flex;
  margin-left: 25px;
  width: 683px;
}
.menu{
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}
.menu1{
  width: 300px;
}
.menu1>nav{
  display: block;
  width: 30%;
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 2px solid #dcdcdc;
  padding-bottom: 10px;
}
.menu1 ul li a {
  display: block;
  line-height: 27px;
  text-decoration: none;
  text-align: center;
  color: #333333;
  position: relative;
}
.selected {
  color: #039268;
}
.menu1>ul{
  display: flex;
  list-style: none;
}
.menu1>ul>li{
  flex: 1;
  font-size: 24px;
}
.menu_con{
  width: 100%;
}
.tag{
  display:block;
  padding:10px 0px;
}
.tt {
  width: 100%;
  height: 100px;
  display: flex;
  margin-top: 17px;
}
.tt_con {
  width: 575px;
  margin-top: 5px;
}
.tt_con a{
  text-decoration: none;
}
.tt_tit {
  width: 90%;
  font-size: 18px;
  color: #01a374;
  margin-bottom: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt_con p {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  color: #666666;
  text-indent: 2em;
  line-height: 30px;
}
.left1{
  width: 85%;
}
.right1{
  width: 15%;
}
.tt_date {
  width: 70px;
  height: 100px;
  float: right;
  text-align: center;
  background: #ebebeb;
}

.tt_date1{
  font-size: 18px;
  color: #d3d2d2;
  line-height:1px;
}
.tt_date2{
  font-size: 16px;
  color: #444444;
  line-height: 1px;
}
.tt_date3{
  font-size: 16px;
  color: #FFFFFF;
  background: #01a374;
  line-height: 30px;
}
.news_list {
  width: 575px;
  font-size: 16px;
  margin-top: 150px;
}
.news_list li a {
  color: #333333;
  margin-left: 10px;
  line-height: 1;
  width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}
.news_list li span {
  float: right;
  color: #999999;
}


/* 3.2实验室安全 */
.infor_list {
  width: 385px;
  margin-top: 35px;
  margin-right: 20px;
}
.infor_tit {
  width: 100%;
  position: relative;
  line-height: 20px;
}
.infor_tit a {
  font-size: 14px;
  color: #989898;
  float: right;
  text-decoration: none;
}
.border2 {
  width: 40px;
  height: 0px;
  border-bottom: 2px solid #01a374;
  position: absolute;
  right: 0px;
  bottom: 0px;
}
.border3 {
  width: 100%;
  float: left;
  border-bottom: 1px solid #dfdfdf;
  margin-top: 15px;
  height: 0px;
  margin-bottom: 1px;
}
.news_list {
  width: 575px;
  float: left;
  margin-top: 30px;
}
.news_list li {
  width: 100%;
  margin-bottom: 30px;
  font-size: 14px;
}
.friend_link {
  width: 65%;
  margin-top: 34px;
  margin-left: 34px;
}
.infor_tit {
  width: 100%;
  position: relative;
  line-height: 20px;
}
.infor_tit span {
  font-size: 16px;
  font-weight: bold;
}
.friend_link ul {
  width: 100%;
  padding: 15px 0px;
}
.friend_link ul li {
  min-width: 100px;
  text-align: center;
  float: left;
  border: 1px dashed #dcdcdc;
  margin: 10px 18px 0px 0px;
  line-height: 38px;
}
.friend_link ul li a{
  text-decoration: none;
  color: black;
}

/* 4页面底部样式 */
footer{
    width: 100%;
    margin-top: 10px;
    background: #444444;
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
    padding: 20px 0px;
    line-height: 30px;
}



p{
  color: #01a374;
  text-align: center;
  line-height: normal;
}
